<template>
  <div>歌名：</div>
  <div v-if="singer==='zhou'">《稻香》</div>
  <div v-else-if="singer==='jj'">《江南》</div>
  <div v-else>《我好像在哪见过你》</div>
  <button @click="singer='zhou'">周杰伦</button>
  <button @click="singer='jj'">林俊杰</button>
  <button @click="singer='laoxue'">薛之谦</button>
</template>

<script setup>
    import {ref} from 'vue'
    const singer = ref('zhou')
</script>

<style>

</style>